﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tanmia.Warehouse.Core;
using FluentNHibernate.Mapping;

namespace Tanmia.Warehouse.NHibernateRepository.Mapping
{
    public class UnitPartMap : SubclassMap<UnitPart>
    {
        public UnitPartMap()
        {
            Table("UnitPart");

            Extends<MovingApproach>();

            Map(x => x.AskOnInput).Not.Nullable();
            Map(x => x.AskOnOutput).Not.Nullable();
        }
    }
}
